cssimage: Store the URI we're loaded from
authorBenjamin Otte <otte@redhat.com>
Wed, 2 Jan 2013 14:27:00 +0000 (15:27 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 2 Feb 2013 00:42:48 +0000 (01:42 +0100)
commit6348ded15d44a7781b6eab7bbc6dfe972b9f87f5
tree528cc126b3236d470682ed3a84aa28b895c64ab8
parent5607a2125fa712f99abf21901d704f1831d7cea4
cssimage: Store the URI we're loaded from

I'd like to use it when printing the value, but I haven't found a way to
do that sanely yet, as I'd need to be able to print relative paths for
make check to work (otherwise the srcdir would blow things up). And we
use a GString to output to, so there's no way to attach a base dir to
that.

If anyone has an idea how to achieve that, poke me. Having the real
filename in debug prints sounds like a very good idea to me.

https://bugzilla.gnome.org/show_bug.cgi?id=692934
gtk/gtkcssimageurl.c
gtk/gtkcssimageurlprivate.h